package top.yongyan0624.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author yongyan
 * @since 2021-05-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Message extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long userId;

    @TableField(exist = false)
    private String name;

    @TableField(exist = false)
    private String headPortrait;

    @TableField(exist = false)
    private String email;

    @TableField(exist = false)
    private String phone;

    private String message;

    private LocalDateTime time;

    private Integer count;

    @TableField(exist = false)
    private Boolean countStatus;

    private Integer star;

    @TableField(exist = false)
    private Boolean starStatus;
}
